<include file="header"/>
<body>
    <div class="wraper wraper-btm">
        <div class="lists">
            <div class="clearfix">
                <div class="img-box pull-left"><img src="{BEESCRM:$huserInfo.image_url}"/></div>
                <div class="info pull-left">
                    <p><span class="name">{BEESCRM:$huserInfo.real_name}</span>
                        <if condition="$huserInfo.sex eq 1">男
                            <else/>女
                        </if>
                        {BEESCRM:$huserInfo.user_age}岁 {BEESCRM:$huserInfo.home_ownership} ￥{BEESCRM:$huserInfo.wages}元/天</p>
                        <p>
                            <for start="0" end="5" >  
                                <span class="iconfont icon-weibiaoti1 <if condition="($i+1) elt $countScoreAvg">star</if>"></span>
                            </for>  
                            {BEESCRM:$tagHuser.work_experience}年经验</p>
                            <p>浙二医院</p>
                        </div>
                    </div>
                    <div class="label-box block-top">
                        <span class="label">
                            <if condition="$huserInfo.type eq 1">全职
                                <else/>兼职   
                            </if>
                        </span>
                        <volist name="tags" id="vo">
                            <span class="label label-blue">{BEESCRM:$vo} </span>
                        </volist>
                    </div>

                    <div class="tab-box foretab clearfix block-top">
                        <a href="javascript:void(0);" class="tab-list actived">基本信息</a>
                        <a href="javascript:void(0);" class="tab-list">工作信息</a>
                        <a href="javascript:void(0);" class="tab-list">培训信息</a>
                        <a href="javascript:void(0);" class="tab-list">雇主评价</a>
                    </div>
                </div>
                <div class="info-container hide show">
                    <div class="lists text-lists">
                        <p>手机号码：{BEESCRM:$huserInfo.tel}</p>
                        <p>籍贯：{BEESCRM:$huserInfo.home_ownership}</p>
                        <p>民族：{BEESCRM:$huserInfo.family_name}</p>
                        <if condition="$huserInfo.marriage eq 1"><p>婚姻：未婚</p>
                            <else/><p>婚姻：已婚</p>
                        </if>
                        <p>年龄：{BEESCRM:$huserInfo.user_age}岁</p>
                        <p>属相：{BEESCRM:$huserInfo.zodiac}</p>
                        <p>星座：{BEESCRM:$huserInfo.constellation}</p>
                        <p>当前城市：{BEESCRM:$huserInfo.city}</p>
                        <if condition="$huserInfo.education eq 1"><p>最高学历：高中</p>
                            <elseif condition="$huserInfo.education eq 2" /><p>最高学历：大专</p>
                            <elseif condition="$huserInfo.education eq 3" /><p>最高学历：本科</p>
                        </if>
                        <p>更新时间：{BEESCRM:$huserInfo.start_time|date="Y-m-d",###}</p>
                        <if condition="$huserInfo.job_start eq 1"><p>目前状态：待岗</p></if>
                    </div>
                </div>
                <div class="info-container hide">
                    <div class="lists text-lists">
                        <p class="title">工作能力</p>
                        <volist name="tags" id="vo">
                            <p>{BEESCRM:$vo} </p>
                        </volist>
                        <br/>
                        <p class="title">工作经验</p>
                        <p>{BEESCRM:$tagHuser.work_experience}年</p>
                        <br/>
                        <p class="title">工作经历</p>
                        <p>公司：{BEESCRM:$jobInfo.enterprise_name}</p>
                        <p>职位：{BEESCRM:$jobInfo.job_name}</p>
                        <p>时间：{BEESCRM:$jobInfo.job_start_time|date="Y-m-d",###}年到{BEESCRM:$jobInfo.job_end_time|date="Y-m-d",###}在该公司任职</p>
                    </div>
                </div>
                <div class="info-container hide">
                    <div class="lists text-lists">
                        <if condition="$jobInfo.training_start_time">
                            <p>培训时间：{BEESCRM:$jobInfo.training_start_time|date="Y-m",###}年到{BEESCRM:$jobInfo.training_end_time|date="Y-m",###}</p>
                            <else/>
                            <p>培训时间：无</p>
                        </if>
                        <if condition="$jobInfo.training_institutions">
                            <p>培训机构：{BEESCRM:$jobInfo.training_institutions}</p>
                            <else/>
                            <p>培训机构：无</p>
                        </if>
                        <if condition="$jobInfo.training_course">
                            <p>培训课程：{BEESCRM:$jobInfo.training_course}</p>
                            <else/>
                            <p>培训课程：无</p>
                        </if>
                        <if condition="$jobInfo.training_place">
                            <p>培训地点：{BEESCRM:$jobInfo.training_place}</p>
                            <else/>
                            <p>培训地点：无</p>
                        </if>
                    </div>
                </div>
                <div class="info-container hide">
                    <div class="lists text-lists">
                        <p class="text-blue">累计评价{BEESCRM:$contentCount}（好评{BEESCRM:$countGoodPraise}%）</p>
                    </div>
                    <volist name="contentInfo" id="vo">
                        <div class="lists text-lists">
                            <div class="tb-mode">
                                <if condition="!empty($vo['image_url'])">
                                    <div class="tb-cell photo"><img src="{BEESCRM:$vo.image_url}"/></div>
                                    <else/>
                                    <div class="tb-cell photo"><img src="/assets/park/huser/images/normal-photo.jpg"/></div>
                                </if>
                                <div class="tb-cell">
                                    <p>{BEESCRM:$vo.real_name}</p>
                                    <for start="0" end="5" >  
                                        <span class="iconfont icon-weibiaoti1 <if condition="($i+1) elt $vo['score']">star</if>"></span>
                                    </for>
                                    <p>{BEESCRM:$vo.create_time|date="Y-m-d H:i:s",###}</p>
                                </div>
                            </div>
                            <p class="comment">{BEESCRM:$vo.content}</p>
                        </div>
                    </volist>
                </div>
                <div class="fixed-btn">
                    <a href="#" class="btn iconfont icon-fanhui01"></a>
                    <a href="#" class="btn iconfont icon-zhiding" id="backtotop"></a>
                </div>
                <div class="bottom-fixed">
                    <a href="tel:{BEESCRM:$telInfo}" class="btn half-btn">联系客服</a>
                    <if condition="$goAppointment eq 1"><a href="#" class="btn half-btn blue-btn" style="background: #bbb">您已有预约</a>
                        <else/><a href="/Park/huser/appoint/huser_id/{BEESCRM:$huserId}" class="btn half-btn blue-btn" id="isGoOrdered">我要预约</a>
                    </if>
                </div>
            </div>
            <input type="hidden" value="{BEESCRM:$huserId}" id="goHuser_id">
            <script src="/assets/park/huser/js/jquery-2.1.0.min.js"></script>
            <script>
                $(function(){
                    var height = $(window).height();
                    var copyright = $('.copyright').outerHeight();
                    $('.wraper').css("minHeight",height);
                    $('.wraper').css("paddingBottom",copyright);

                    $('.foretab').on('click','.tab-list',function(){
                        var idx = $(this).index();
                        $(this).toggleClass('actived').siblings().removeClass('actived');
                        $('.info-container').eq(idx).addClass('show').siblings().removeClass('show');
                    })

                    $(function () {
            //当点击跳转链接后，回到页面顶部位置
            $("#backtotop").click(function(){
                $('body,html').animate({scrollTop:0},300);
                return false;
            });
        });
                })
    /*$("#announcements").hide();
    var goAppointment = $("#goAppointment").val();
    $("#isGoOrdered").on('click',function(){
        var goHuser_id = $("#goHuser_id").val()
        if(goAppointment){
            $("#announcements").show();
            reload();
        }else{
            location.href="/Park/huser/appoint/huser_id/"+goHuser_id;
        }
    });*/
    //页面刷新
    function reload(){
        setTimeout('location.reload()',1500);
    }
</script>
</body>
</html>
